package com.YCH.model.article.pojos;


import com.YCH.model.annotation.DateConvert;
import com.YCH.model.annotation.IdEncrypt;
import com.YCH.model.user.pojos.TbUser;
import com.YCH.model.user.pojos.TbUserLv;
import lombok.Data;

import java.util.Date;

@Data
public class TbArticle {
  @IdEncrypt
  private Long id;
  private TbUser user;
  private TbUserLv lv;
  private String tag;
  private TbArticleFlag flag;
  private String title;
  private String image;
  private String partContent;
  private TbArticleContent content;
  @IdEncrypt
  private Long categoryId;
  private Integer provinceId;
  private Integer cityId;
  private Integer countyId;
  @DateConvert("yyyyMMddHHmmss")
  private Date creatTime;
  @DateConvert("yyyyMMddHHmmss")
  private Date modifyTime;
}
